<template>
	<view class="container">
		
		<scroll-view style="padding-bottom: 10px;border: 2px solid black;" scroll-top="0" scroll-y="true"  :style="{height: `${windowHeight-100}px`}">
			
			
			
		</scroll-view>
	</view>
</template>

<script>
	export default {
		onLoad(option) {//option为object类型，会序列化上个页面传递的参数
			//console.log(option.id); //打印出上个页面传递的参数。
			//console.log(option.name); //打印出上个页面传递的参数。
		},
		onShow() {
			console.log('____onShow_优惠券_')
		},
		computed:{
		  windowHeight() {
			return uni.getSystemInfoSync().windowHeight - 0
		  }
		},
		created() {
			
		},
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
  page {
    background-color: #F6F6F6;
  }
  .container {
    margin-bottom: 100rpx;
    padding: 30rpx;
  }


</style>
